<h2><%=h @group.name %></h2>
<p>
	<%= link_to 'Edit', edit_group_path(@group) %>
	<%= link_to 'Destroy', @group, :confirm => 'Are you sure?', :method => :delete %>
</p>

<h3>Members</h3>

<ul>
<%= render :partial =>'membership', :collection => @group.memberships %>
</ul>

<h3>Pending Invitations</h3>

<ul>
<%= render :partial =>'invitation', :collection => @group.invitations %>
<li><%= link_to 'New invitation', new_group_invitation_path(@group) %></li>
</ul>



